<template>
  <div id="frame">
    <iframe :src="frame_src" width="100%" height="100%"></iframe>
  </div>
</template>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="scss">
  #frame{
    width: 100%;
    height: 100%;
  }
</style>

<script lang="ts">
// @ is an alias to /src
import { Component, Prop, Vue, Watch, Model } from 'vue-property-decorator';
import router from '../router';

@Component
export default class FrameComponent extends Vue {
  private frame_src: any = '';

  created(){
    this.frame_src=router.currentRoute.query.frame_src;
  }
  
}
</script>
